/*
 * @Author: 李世千
 * @Date: 2021-04-21 18:33:40
 * @LastEditTime: 2021-04-26 16:39:14
 * @LastEditors: 李世千
 */
export interface RootObject {
  children: any;
 // map(arg0: (item: any) => JSX.Element): import("react").ReactNode;
  statusCode: number;
  msg?: any;
  success: boolean;
  data: Datum[],
  id: string;
  name: string;
  email: string;
  content: string;
  html: string;
  pass: boolean;
  userAgent: string;
  hostId: string;
  url: string;
  parentCommentId?: string;
  replyUserName?: string;
  replyUserEmail?: string;
  createAt: string;
  updateAt: string;
}

 export interface Datum {
  id: string;
  name: string;
  email: string;
  content: string;
  html: string;
  pass: boolean;
  userAgent: string;
  hostId: string;
  url: string;
  parentCommentId?: string;
  replyUserName?: string;
  replyUserEmail?: string;
  createAt: string;
  updateAt: string;
}


export interface DetailObject {
  ip: string;
  userAgent: string;
  url: string;
  count: number;
  address: string;
  browser: string;
  engine: string;
  os: string;
  device: string;
  createAt: string;
  updateAt: string;
}